export default {
  authentication: {
    login: "webapi/authentication/login",
    forgotpassword: "webapi/authentication/forgotpassword",
    changePassword: "webapi/authentication/changepassword",
    getserver: "api/authentication/getserver",
    reauthenticatetoken: "webapi/authentication/reauthenticatetoken",
    refreshmenu: "webapi/authentication/refreshmenu",
    savephonestatus: "webapi/authentication/savephonestatus",
    registerdevice: "webapi/authentication/registerdevice",
    deletephonestatus: "webapi/authentication/deletephonestatus",
    getCompCode: "webapi/authentication/getCompCode",
  },
  localization: {
    messages: (compCode: string, lang: string) => {
      return "webapi/localization/" + compCode + "/" + lang + "/messages";
    },
    languages: "webapi/localization/languages",
  },
  user: {
    getalluserswthsubstrc: "webapi/user/getalluserswthsubstrc",
    getuser: "webapi/user/getuser",
    getuserlist: "webapi/user/getuserlist",
    adduser: "webapi/user/adduser",
    saveuser: "webapi/user/saveuser",
    getsubordinateuserlist: "webapi/user/getsubordinateuserlist",
    GetCenterList: "webapi/user/GetCenterList",
  },
  reporting: {
    schedulevalue: "webapi/report/ScheduleValue",
    taskordervalue: "webapi/report/TaskOrderValue",
    retentionsummary: "webapi/report/RetainSum",
    grandsummary: "webapi/report/GrandSummary",
    smCert: "webapi/report/SMCert",
    smnReport: "webapi/report/SMN",
  },
  usergrp: {
    getusergrprights: "webapi/usergrp/getusergrprights",
    updateusergrprights: "webapi/usergrp/updateusergrprights",
    saveusergrp: "webapi/usergrp/saveusergrp",
  },
  qgl: {
    listvalue: "webapi/qgl/listvalue",
  },
  entity: {
    createMember: "webapi/entity/createMember",
    saveentity: "webapi/entity/saveentity",
    renewMember: "webapi/entity/renewMember",
  },
  mm: {
    save: "webapi/mm/save",
    delete: "webapi/mm/delete",
  },
  job: {
    GetCalendarTasks: "webapi/job/GetCalendarTasks",
    RoomList: "webapi/rooms/RoomList",
    BookingList: "webapi/rooms/BookingList",
    SaveBooking: "webapi/rooms/SaveBooking",
    DeleteBooking: "webapi/rooms/DeleteBooking",
    PendingForApproval: "webapi/job/PendingForApproval",
    OverDueJobs: "webapi/job/OverDueJobs",
  },
  jobSheet: {
    get: "webapi/jobSheet/get",
    FormList: "webapi/jobsheet/FormList",
    getans: "webapi/jobsheet/getans",
    submitAns: "webapi/jobsheet/submitAns",
    getall: "webapi/jobsheet/getall",
    save: "webapi/jobsheet/save",
    getUserGrp: "webapi/jobsheet/getJobSheetUserGrp",
    saveUserGrp: "webapi/jobsheet/saveJobSheetUserGrp",
    getjobsheetpdf: "webapi/jobsheet/getjobsheetpdf",
    JobSheetDefaultValues: "api/jobsheet/JobSheetDefaultValues",
    JSTableQuery: "webapi/jobsheet/JSTableQuery",
  },
  activity: {
    getallActivities: "api/act/ProposalList",
    getActivity: "api/act/Activity",
    saveActivity: "api/act/SaveActivity",
    approveActivity: "api/act/ApproveActivity",
    doneActivity: "api/act/DoneAnActivity",
    rejectActivity: "api/act/RejectActivity",
    activitiesJoined: "api/act/ActivitiesJoined",
    assignParticipants: "api/act/AssignParticipants",
    activitiesPackagesList: "api/act/ActivitiesPackagesList",
    getContactPerson: "webapi/entity/getContactPerson",
    memberRegistrationForAct: "api/act/MemberRegistrationForAct",
    cancelRegistration: "api/act/CancelRegistration",
    // activitiesSessionsList: "api/act/ActivitiesList", // act and session list
    registeredParticipants: "api/act/Participants", // return registered participants
    luckyDrawResult: "api/act/LuckyDraw",
    enrollActivity: "api/act/EnrollActivity",
    withdrawActivity: "api/act/WithdrawActivity",
    getAttendanceList: "api/act/GetAttendanceList",
    saveAttendanceList: "api/act/SaveAttendanceList",
    actReport: "api/act/ActReport",
    actReportList: "api/act/ActReportList",
    advancePayment: "api/act/AdvancePayment",
    saveActReport: "api/act/SaveActReport",
    submitActReport: "api/act/SubmitActReport",
    receiptControlList: "api/act/ReceiptControlList",
    batchActRptApprv: "api/act/BatchActRptApprv",
    batchRejectActivityReport: "api/act/BatchRejectActivityReport",
    batchApproveActivityProposal: "api/act/BatchApproveActivity",
    batchRejectActivityProposal: "api/act/BatchRejectActivity",
    GenerateReceipt: "api/act/GenerateReceipt",
    ActApprvList: "api/act/ActApprvList",
  },
  admission: {
    getallAdmissions: "webapi/admission/AdmissionList",
    getAdmission: "webapi/admission/Admission",
    cancelAdmission: "webapi/admission/CancelAdmission",
    saveAdmission: "webapi/admission/SaveAdmission",
    submitAdmission: "webapi/admission/SubmitAdmission",
    BatchApproveAdmission: "webapi/admission/BatchApproveAdmission",
    BatchRejectAdmission: "webapi/admission/BatchRejectAdmission",
    uploadDoc: "webapi/admission/UploadDoc",
    getItemFile: "webapi/DocLib/GetFileByItemID",
    GetDocumentIDs: "webapi/admission/GetDocumentIDs",
    saveServiceEnquiry: "webapi/admission/saveServiceEnquiry",
    PromoteServiceEnquiries: "webapi/admission/PromoteServiceEnquiries",
    GetServiceEnquiries: "webapi/admission/GetServiceEnquiries",
  },
  announcement: {
    createannouncement: "webapi/announcement/createannouncement",
    // getannouncement: 'announcement/getannouncement',
  },
  case: {
    getCaseList: "webapi/case/getCaseList",
    getCase: "webapi/case/getCase",
    getJoblist: "webapi/job/getjoblist",
    getjob: "webapi/job/getjob",
    saveJob: "webapi/job/saveJob",
    getTask: "webapi/task/gettask",
    saveTask: "webapi/task/saveTask",
    closeCase: "webapi/case/close",
    saveCase: "webapi/case/saveCase",
    startTask: "webapi/task/starttask",
    completeTask: "webapi/task/completetask",
    resolveCase: "webapi/case/resolveCase",
    getJobDoc: "webapi/job/GetDocumentIDs",
    getTaskDoc: "webapi/task/GetDocumentIDs",
    uploadDocJob: "webapi/job/UploadDoc",
    uploadDocTask: "webapi/task/UploadDoc",
    TakeAttendance: "webapi/job/TakeAttendance",
  },
  task: {
    OverDueTasks: "webapi/task/OverDueTasks",
    PendingTasks: "webapi/task/PendingTasks",
    BatchApproveTask: "webapi/task/BatchApproveTask",
    RejectTaskDoc: "webapi/task/RejectTaskDoc",
  },
  member: {
    getCustomerList: "webapi/entity/getcustomerlist",
    getEntityPackage: "webapi/entity/getEntityPackage",
    closeMember: "webapi/entity/CloseMember",
    ChangeTypeToMember: "webapi/entity/ChangeTypeToMember",
    getEntityTypes: "webapi/case/GetEntityTypes",
    getJobList: "webapi/entity/getJobList",
    setBlacklistDate: "webapi/entity/setBlackListDate",
  },
  visitor: {
    ClockingOverview: "webapi/visitor/ClockingOverview",
    ClockRec: "webapi/visitor/ClockRec",
    ClockingList: "webapi/visitor/ClockingList",
    Clocking: "webapi/visitor/Clocking",
    DeleteClockRec: "webapi/visitor/DeleteClockRec",
  },
  common: {
    UserVerified: "webapi/common/UserVerified",
    downAttachment: "webapi/common/downloadData",
    GPSRelocate: "webapi/common/GPSRelocate",
  },
  docaprv: {
    savedocaprvs: "webapi/docaprv/savedocaprvs",
    CheckForApproval: "webapi/docaprv/CheckForApproval",
  },
  approval: {
    ApprovalLogs: "webapi/approval/ApprovalLogs",
  },
  InitialData: {
    DuplicateCenter: "webapi/InitialData/DuplicateCenter",
  },
  rpt: {
    getRpt: "webapi/report/Rpt",
    saveReport: (rptID: string) => {
      return `webapi/report/Save${rptID}Report`;
    },
    printReport: (rptID: string) => {
      return `webapi/report/Print${rptID}Report`;
    },
    LogNum: "webapi/report/LogNum",
    NewRptVersion: "webapi/report/NewRptVersion",
    AprvReport: "webapi/report/AprvReport",
  },
  //Dashboard
  project: {
    ProjectList: "api/project/ProjectList",
    ProjectProfile: "api/project/ProjectProfile",
    APESummary: "api/project/FundsList",
    ExpenditureBreakdown: "api/project/ExpenditureBreakdown",
    ProjectPeriod: "api/project/ProjectPeriod",
    MonthlyCertifiedAmt: "api/project/MonthlyCertifiedAmt",
    SaveProject: "api/project/SaveProject",
    Project: "api/project/Project",
    DefaultProjAlertSetting: "api/project/DefaultProjAlertSetting",
    SaveTransferredFund: "api/project/SaveTransferredFund",
    DeleteProject: "api/project/DeleteProject",
    ProjectForecast: "api/project/ProjectForecast",
    SaveProjectForecast: "api/project/SaveProjectForecast",
  },
  taskOrder: {
    TaskOrderList: "api/taskOrder/TaskOrderList",
    TaskOrdersByExpensesType: "api/taskOrder/TaskOrdersByExpensesType",
    TaskOrderCount: "api/taskOrder/TaskOrderCount",
    TaskOrderPivotList: "api/taskOrder/TaskOrderPivotList",
    TaskOrder: "api/taskOrder/TaskOrder",
    CreateTaskOrder: "api/taskOrder/NewATaskOrder",
    SaveTaskOrder: "api/taskOrder/SaveTaskOrder",
    SubmitTaskOrder: "api/taskOrder/SubmitTaskOrder",
    CertPayment: "api/taskOrder/CertPayment",
    WorkProgress: "api/taskOrder/WorkProgress",
    CertAmtVSTOProgressList: "api/taskOrder/CertAmtVSTOProgressList",
    CertAmtVSProgress: "api/taskOrder/CertAmtVSProgress",
    IssueTaskOrder: "api/taskOrder/IssueTaskOrder",
    EFormsRequest: "api/taskOrder/eForms",
    EFormsDownload: "api/taskOrder/DownloadEForms",
    DoneTaskOrder: "api/taskOrder/TaskOrderDone",
  },
  smi: {
    SMIList: "api/taskOrder/SMIList",
    SMIListDetail: "api/taskOrder/SMI",
    SaveSMI: "api/taskOrder/SaveSMI",
    SubmitSMI: "api/taskOrder/SubmitSMI",
    DeleteSMI: "api/taskOrder/DeleteSMI",
    ApproveSMI: "api/taskOrder/ApproveSMI",
    RejectSMI: "api/taskOrder/RejectSMI",
    SMIReqConsultForAprv: "api/taskOrder/SMIReqConsultForAprv",
  },
  quotation: {
    QuotationList: "webapi/quotation/QuotationList",
    QuotationDetail: "webapi/quotation/Quotation",
    SaveQuotation: "webapi/quotation/SaveQuotation",
    SubmitQuotation: "webapi/quotation/SubmitQuotation",
    DeleteQuotation: "webapi/quotation/DeleteQuotation",
    ApproveQuotation: "webapi/quotation/ApproveQuotation",
    RejectQuotation: "webapi/quotation/RejectQuotation",
    BudgetValidate: "webapi/quotation/BudgetValidate",
    CancelQuotation: "webapi/quotation/CancelQuotation",
  },
  payment: {
    IndexesOfYear: "api/payment/IndexesOfYear",
    CalIdxChgs: "api/payment/CalIdxChgs",
    SaveIndexes: "api/payment/SaveIndexes",
    TaskOrderAssHdrList: "api/payment/TaskOrderAssHdrList",
    TaskOrderAssDtlList: "api/payment/TaskOrderAssDtlList",
    CalCertifyPaymentHdr: "api/payment/CalCertifyPaymentHdr",
    CalCertifyPaymentDtl: "api/payment/CalCertifyPaymentDtl",
    SaveAssessment: "api/payment/SaveAssessment",
    ConfirmAssessment: "api/payment/ConfirmAssessment",
    UnConfirmAssessment: "api/payment/UnConfirmAssessment",
    NewAssessment: "api/payment/NewAssessment",
    AssessmentDateList: "api/payment/AssessmentDateList",
    AssessmentOpt: "api/payment/AssessmentOpt",
    ImportAssessment: "api/payment/ImportAssessment",
    SMCertInfo: "api/payment/SMCertInfo",
  },
  siteProgress: {
    SitePhotos: "api/siteProgress/SitePhotos",
    SitePhoto: "api/siteProgress/SitePhoto",
    SaveSitePhotos: "api/siteProgress/SaveSitePhotos",
    DeleteSitePhotos: "api/siteProgress/DeleteSitePhoto",
    PipeProgresses: "api/siteProgress/PipeProgresses",
    SavePipeProgresses: "api/siteProgress/SavePipeProgresses",
    SiteProgress: "api/siteProgress/SiteProgress",
    SiteProgressTable: "api/siteProgress/SiteProgressTable",
    PipeDoneVsTarget: "api/siteProgress/PipeDoneVsTarget",
    SaveFinalRpt: "api/siteProgress/SaveFinalRpt",
    PipeProgAttachments: "api/siteProgress/PipeProgAttachments",
    DeletePipeProgresses: "api/siteProgress/DeletePipeProgresses",
  },
  district: {
    address: "api/district/address",
  },
  pipe: {
    PipeList: "api/pipe/PipesList",
    PipesListDetail: "api/pipe/Pipe",
    AddPipe: "api/pipe/AddPipe",
    UpdatePipe: "api/pipe/UpdatePipe",
    DeletePipe: "api/pipe/DeletePipe",
    getPipe: "api/pipe/Pipe",
    PipeSizes: "api/pipe/PipeSizes",
  },
  alarm: {
    PaidProgAlertCnt: "api/alert/WorkProgAlertCnt",
    WorkProgAlertCnt: "api/alert/PaidProgAlertCnt",
    Alerts: "api/alert/Alerts",
    AlertRead: "api/alert/AlertRead",
    AlertAllRead: "api/alert/AlertAllRead",
    ToDoList: "api/alert/ToDoList",
  },
};
